home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / batutl2.zip / PAUSE2.DOC < prev    next >
Text File  |  1986-04-27  |  6KB  |  94 lines

  1. |_____________________________________________________________________________|
  2. |                                                                             |
  3. |                PAUSE2.COM                                    |
  4. |                                                                             |
  5. |        A subcommand (to be used in batch files,                      |
  6. |        especially when ECHO is off)                                  |
  7. |                                                                             |
  8. |                                                                             |
  9. |    This program is an improved version of DOS's PAUSE command. The       |
  10. |    problems with DOS's PAUSE command are that, when ECHO is off,         |
  11. |    it only displays one message ("Strike a key when ready . . ."),       |
  12. |    and it doesn't alert the user when it appears. This program allows    |
  13. |    users to display any message they want, which could include beeps.    |
  14. |                                                                             |
  15. |-----------------------------------------------------------------------------|
  16. |                                                                             |
  17. |                                                                             |
  18. |    Purpose:   Suspends system processing, displays a message, and        |
  19. |           waits for the user to press a character key.               |
  20. |                                                                             |
  21. |    Format:    PAUSE2 remark                                              |
  22. |                                                                             |
  23. |     Type:       Internal    External                                       |
  24. |                 ***                                          |
  25. |                                                                             |
  26. |    Remarks:   The remark in the PAUSE2 command is obligatory; it may     |
  27. |               not be left out. If it is left out, the remark will        |
  28. |           be the last command line typed (i.e. if you typed          |
  29. |                DIR B: followed by a PAUSE2 command that lacked a remark,  |
  30. |               the remark would be B:). Unlike DOS's PAUSE command,       |
  31. |           PAUSE2 uses the remark as the message that it will display |
  32. |           Beeps can be put in the remark by holding down <Ctrl> and  |
  33. |           pressing the 'G' key. On screen, you should see ^G. When   |
  34. |           the message is redisplayed, a beep will replace ^G.        |
  35. |           NOTE: You cannot use the characters '>','|', and '<' in a  |
  36. |           remark, because they are DOS redirection symbols.          |
  37. |                                                                             |
  38. |    Examples:  Here is an example of DOS's PAUSE command:                 |
  39. |                                                                             |
  40. |                A>PAUSE This is DOS's PAUSE.                          |
  41. |            Strike a key when ready . . .                         |
  42. |                                                                             |
  43. |           Here is the same example, but in a batch file which        |
  44. |           has had a previous ECHO OFF instruction:                   |
  45. |                                                                             |
  46. |            Strike a key when ready . . .                         |
  47. |                                                                             |
  48. |           Here is an example of PAUSE2:                              |
  49. |                                                                             |
  50. |            A>PAUSE2 This is PAUSE2. Press a key ==}              |
  51. |            This is PAUSE2. Press a key ==}                       |
  52. |                                                                             |
  53. |           Here is the same example, but in a batch file which        |
  54. |           has had a previous ECHO OFF instruction:                   |
  55. |                                                                             |
  56. |                       This is PAUSE2. Press a key ==}                       |
  57. |                                                                             |
  58. |               Here is a PAUSE2 example with beeping in it:               |
  59. |                                                                             |
  60. |            A>PAUSE2 You're all done! Press a key --^G^G^G        |
  61. |            You're all done! Press a key -- [beep beep beep]      |
  62. |                                                                             |
  63. |                                                                             |
  64. |    SEND ALL QUESTIONS AND COMMENTS TO:                                   |
  65. |    Scott Pakin                                                           |
  66. |    6007 N. Sheridan Rd.                                                  |
  67. |    Chicago, IL    60660                                                  |
  68. |_____________________________________________________________________________|
  69.  
  70.  
  71.  
  72.  
  73.  
  74.                    This disk copy provided as a service of
  75.  
  76.                         The Public (Software) Library
  77.  
  78.                            the software library of
  79.                      The Houston Area League of PC Users
  80.  
  81.          Program disks are available for as little as $2 each and a
  82.          20-page monthly newsletter reviewing all the latest public
  83.          domain and shareware software plus a listing of all the
  84.          disks in our library is available for just $12 a year.
  85.  
  86.          For a copy of the latest monthly software library newsletter
  87.          and program directory, send a self-addressed, stamped (with
  88.          two stamps), legal-size envelope or send $1 to
  89.  
  90.                         The Public (Software) Library
  91.                                 P.O.Box 61565
  92.                                    Dept. D
  93.                               Houston, TX 77208
  94.